package com.wnhz.work.yz.bean;

import java.util.List;

/**
 * Created by admin on 2017/3/7.
 */
public class CustomerTypeBean {

    /**
     * result : 1
     * info : {"customer_type":[{"customer_type_id":"1","classname":"个人用户"},{"customer_type_id":"2","classname":"经销商"},{"customer_type_id":"3","classname":"中介"},{"customer_type_id":"4","classname":"政府职能部门"},{"customer_type_id":"5","classname":"装修公司"},{"customer_type_id":"6","classname":"总包"},{"customer_type_id":"7","classname":"设计院"},{"customer_type_id":"8","classname":"最终用户"}],"operator":[{"userid":"23","name":"姚芬","telephone":"18896549562"},{"userid":"137","name":"瞿雪花","telephone":"13771883432"},{"userid":"1040","name":"","telephone":"13685789201"}]}
     */

    private String result;
    private InfoEntity info;

    public void setResult(String result) {
        this.result = result;
    }

    public void setInfo(InfoEntity info) {
        this.info = info;
    }

    public String getResult() {
        return result;
    }

    public InfoEntity getInfo() {
        return info;
    }

    public static class InfoEntity {
        /**
         * customer_type_id : 1
         * classname : 个人用户
         */

        private List<CustomerTypeEntity> customer_type;
        /**
         * userid : 23
         * name : 姚芬
         * telephone : 18896549562
         */

        private List<OperatorEntity> operator;

        public void setCustomer_type(List<CustomerTypeEntity> customer_type) {
            this.customer_type = customer_type;
        }

        public void setOperator(List<OperatorEntity> operator) {
            this.operator = operator;
        }

        public List<CustomerTypeEntity> getCustomer_type() {
            return customer_type;
        }

        public List<OperatorEntity> getOperator() {
            return operator;
        }

        public static class CustomerTypeEntity {
            private String customer_type_id;
            private String classname;

            public void setCustomer_type_id(String customer_type_id) {
                this.customer_type_id = customer_type_id;
            }

            public void setClassname(String classname) {
                this.classname = classname;
            }

            public String getCustomer_type_id() {
                return customer_type_id;
            }

            public String getClassname() {
                return classname;
            }
        }

        public static class OperatorEntity {
            private String userid;
            private String name;
            private String telephone;

            public void setUserid(String userid) {
                this.userid = userid;
            }

            public void setName(String name) {
                this.name = name;
            }

            public void setTelephone(String telephone) {
                this.telephone = telephone;
            }

            public String getUserid() {
                return userid;
            }

            public String getName() {
                return name;
            }

            public String getTelephone() {
                return telephone;
            }
        }
    }
}
